package com.clouddisk.common.utils;

import java.util.HashMap;
import java.util.Map;

/**
 * @author ZJH
 */
public class MimeUtils {
    private static Map<String, String> map = new HashMap();

    public MimeUtils() {
    }

    public static String getMime(String suffix) {
        return (String)map.get(suffix);
    }

    static {
        map.put("ads" , "text/x-adasrc");
        map.put("afm" , "application/x-font-afm");
        map.put("ag" , "image/x-applix-graphics");
        map.put("al" , "application/x-perl");
        map.put("alz" , "application/x-alz");
        map.put("amr" , "audio/amr");
        map.put("anim[1-9j]" , "video/x-anim");
        map.put("anx" , "application/annodex");
        map.put("ape" , "audio/x-ape");
        map.put("arj" , "application/x-arj");
        map.put("arw" , "image/x-sony-arw");
        map.put("as" , "application/x-applix-spreadsheet");
        map.put("ass" , "text/x-ssa");
        map.put("atom" , "application/atom+xml");
        map.put("aw" , "application/x-applix-word");
        map.put("awk" , "application/x-awk");
        map.put("axa" , "audio/annodex");
        map.put("axv" , "video/annodex");
        map.put("bak" , "application/x-trash");
        map.put("bdf" , "application/x-font-bdf");
        map.put("bib" , "text/x-bibtex");
        map.put("bin" , "application/octet-stream");
        map.put("blend" , "application/x-blender");
        map.put("blender" , "application/x-blender");
        map.put("bz" , "application/x-bzip");
        map.put("c++" , "text/x-c++src");
        map.put("cab" , "application/vnd.ms-cab-compressed");
        map.put("cb7" , "application/x-cb7");
        map.put("cbr" , "application/x-cbr");
        map.put("cbt" , "application/x-cbt");
        map.put("cbz" , "application/x-cbz");
        map.put("cc" , "text/x-c++src");
        map.put("cdr" , "application/vnd.corel-draw");
        map.put("cert" , "application/x-x509-ca-cert");
        map.put("cgm" , "image/cgm");
        map.put("chm" , "application/x-chm");
        map.put("chrt" , "application/x-kchart");
        map.put("cls" , "text/x-tex");
        map.put("cmake" , "text/x-cmake");
        map.put("cpio.gz" , "application/x-cpio-compressed");
        map.put("cr2" , "image/x-canon-cr2");
        map.put("crw" , "image/x-canon-crw");
        map.put("cs" , "text/x-csharp");
        map.put("cssl" , "text/css");
        map.put("csv" , "text/csv");
        map.put("cue" , "application/x-cue");
        map.put("cxx" , "text/x-c++src");
        map.put("d" , "text/x-dsrc");
        map.put("dar" , "application/x-dar");
        map.put("dbf" , "application/x-dbf");
        map.put("dc" , "application/x-dc-rom");
        map.put("dcl" , "text/x-dcl");
        map.put("dds" , "image/x-dds");
        map.put("deb" , "application/x-deb");
        map.put("desktop" , "application/x-desktop");
        map.put("dia" , "application/x-dia-diagram");
        map.put("diff" , "text/x-patch");
        map.put("divx" , "video/x-msvideo");
        map.put("djv" , "image/vnd.djvu");
        map.put("djvu" , "image/vnd.djvu");
        map.put("dng" , "image/x-adobe-dng");
        map.put("docbook" , "application/docbook+xml");
        map.put("docm" , "application/vnd.openxmlformats-officedocument.wordprocessingml.document");
        map.put("docxf" , "application/vnd.openxmlformats-officeform.document");
        map.put("dsl" , "text/x-dsl");
        map.put("dtd" , "application/xml-dtd");
        map.put("dtx" , "text/x-tex");
        map.put("dv" , "video/dv");
        map.put("dvi.bz2" , "application/x-bzdvi");
        map.put("dvi.gz" , "application/x-gzdvi");
        map.put("e" , "text/x-eiffel");
        map.put("egon" , "application/x-egon");
        map.put("eif" , "text/x-eiffel");
        map.put("el" , "text/x-emacs-lisp");
        map.put("emf" , "image/x-emf");
        map.put("emp" , "application/vnd.emusic-emusic_package");
        map.put("ent" , "application/xml-external-parsed-entity");
        map.put("eps.bz2" , "image/x-bzeps");
        map.put("eps.gz" , "image/x-gzeps");
        map.put("epsf" , "image/x-eps");
        map.put("epsf.bz2" , "image/x-bzeps");
        map.put("epsf.gz" , "image/x-gzeps");
        map.put("epsi" , "image/x-eps");
        map.put("epsi.bz2" , "image/x-bzeps");
        map.put("epsi.gz" , "image/x-gzeps");
        map.put("erl" , "text/x-erlang");
        map.put("etheme" , "application/x-e-theme");
        map.put("exr" , "image/x-exr");
        map.put("ez" , "application/andrew-inset");
        map.put("f" , "text/x-fortran");
        map.put("f90" , "text/x-fortran");
        map.put("f95" , "text/x-fortran");
        map.put("fb2" , "application/x-fictionbook+xml");
        map.put("fig" , "image/x-xfig");
        map.put("fits" , "image/fits");
        map.put("fl" , "application/x-fluid");
        map.put("flac" , "audio/x-flac");
        map.put("flc" , "video/x-flic");
        map.put("fli" , "video/x-flic");
        map.put("flw" , "application/x-kivio");
        map.put("fo" , "text/x-xslfo");
        map.put("for" , "text/x-fortran");
        map.put("g3" , "image/fax-g3");
        map.put("gb" , "application/x-gameboy-rom");
        map.put("gba" , "application/x-gba-rom");
        map.put("gcrd" , "text/directory");
        map.put("ged" , "application/x-gedcom");
        map.put("gedcom" , "application/x-gedcom");
        map.put("gen" , "application/x-genesis-rom");
        map.put("gf" , "application/x-tex-gf");
        map.put("gg" , "application/x-sms-rom");
        map.put("glade" , "application/x-glade");
        map.put("gmo" , "application/x-gettext-translation");
        map.put("gnc" , "application/x-gnucash");
        map.put("gnd" , "application/gnunet-directory");
        map.put("gnucash" , "application/x-gnucash");
        map.put("gnumeric" , "application/x-gnumeric");
        map.put("gnuplot" , "application/x-gnuplot");
        map.put("gp" , "application/x-gnuplot");
        map.put("gpg" , "application/pgp-encrypted");
        map.put("gplt" , "application/x-gnuplot");
        map.put("gra" , "application/x-graphite");
        map.put("gsf" , "application/x-font-type1");
        map.put("gsm" , "audio/x-gsm");
        map.put("gv" , "text/vnd.graphviz");
        map.put("gvp" , "text/x-google-video-pointer");
        map.put("h++" , "text/x-c++hdr");
        map.put("hh" , "text/x-c++hdr");
        map.put("hp" , "text/x-c++hdr");
        map.put("hpgl" , "application/vnd.hp-hpgl");
        map.put("hpp" , "text/x-c++hdr");
        map.put("hs" , "text/x-haskell");
        map.put("hwp" , "application/x-hwp");
        map.put("hwt" , "application/x-hwt");
        map.put("hxx" , "text/x-c++hdr");
        map.put("ica" , "application/x-ica");
        map.put("icb" , "image/x-tga");
        map.put("icns" , "image/x-icns");
        map.put("ics" , "text/calendar");
        map.put("idl" , "text/x-idl");
        map.put("iff" , "image/x-iff");
        map.put("ilbm" , "image/x-ilbm");
        map.put("ime" , "text/x-imelody");
        map.put("iptables" , "text/x-iptables");
        map.put("iso" , "application/x-cd-image");
        map.put("iso9660" , "application/x-cd-image");
        map.put("jng" , "image/x-jng");
        map.put("jp2" , "image/jp2");
        map.put("jpc" , "image/jp2");
        map.put("jpf" , "image/jp2");
        map.put("webp" , "image/webp");
        map.put("jpr" , "application/x-jbuilder-project");
        map.put("jpx" , "image/jp2");
        map.put("jsonp" , "application/jsonp");
        map.put("k25" , "image/x-kodak-k25");
        map.put("kar" , "audio/midi");
        map.put("karbon" , "application/x-karbon");
        map.put("kdc" , "image/x-kodak-kdc");
        map.put("kdelnk" , "application/x-desktop");
        map.put("kexi" , "application/x-kexiproject-sqlite3");
        map.put("kexic" , "application/x-kexi-connectiondata");
        map.put("kexis" , "application/x-kexiproject-shortcut");
        map.put("kfo" , "application/x-kformula");
        map.put("kil" , "application/x-killustrator");
        map.put("kino" , "application/smil");
        map.put("kml" , "application/vnd.google-earth.kml+xml");
        map.put("kmz" , "application/vnd.google-earth.kmz");
        map.put("kon" , "application/x-kontour");
        map.put("kpm" , "application/x-kpovmodeler");
        map.put("kpr" , "application/x-kpresenter");
        map.put("kpt" , "application/x-kpresenter");
        map.put("kra" , "application/x-krita");
        map.put("ksp" , "application/x-kspread");
        map.put("kud" , "application/x-kugar");
        map.put("kwd" , "application/x-kword");
        map.put("kwt" , "application/x-kword");
        map.put("la" , "application/x-shared-library-la");
        map.put("ldif" , "text/x-ldif");
        map.put("lhs" , "text/x-literate-haskell");
        map.put("lhz" , "application/x-lhz");
        map.put("ltx" , "text/x-tex");
        map.put("lua" , "text/x-lua");
        map.put("lwo" , "image/x-lwo");
        map.put("lwob" , "image/x-lwo");
        map.put("lws" , "image/x-lws");
        map.put("ly" , "text/x-lilypond");
        map.put("lyx" , "application/x-lyx");
        map.put("lz" , "application/x-lzip");
        map.put("lzma" , "application/x-lzma");
        map.put("lzo" , "application/x-lzop");
        map.put("m" , "text/x-matlab");
        map.put("m2t" , "video/mpeg");
        map.put("m3u8" , "audio/x-mpegurl");
        map.put("m4" , "application/x-m4");
        map.put("mab" , "application/x-markaby");
        map.put("mbox" , "application/mbox");
        map.put("md" , "text/markdown");
        map.put("mdi" , "image/vnd.ms-modi");
        map.put("med" , "audio/x-mod");
        map.put("metalink" , "application/metalink+xml");
        map.put("mgp" , "application/x-magicpoint");
        map.put("minipsf" , "audio/x-minipsf");
        map.put("mka" , "audio/x-matroska");
        map.put("mkv" , "video/x-matroska");
        map.put("ml" , "text/x-ocaml");
        map.put("mli" , "text/x-ocaml");
        map.put("mm" , "text/x-troff-mm");
        map.put("mml" , "text/mathml");
        map.put("mo" , "application/x-gettext-translation");
        map.put("mo3" , "audio/x-mo3");
        map.put("moov" , "video/quicktime");
        map.put("mp+" , "audio/x-musepack");
        map.put("mrml" , "text/x-mrml");
        map.put("mrw" , "image/x-minolta-mrw");
        map.put("msi" , "application/x-msi");
        map.put("msod" , "image/x-msod");
        map.put("msx" , "application/x-msx-rom");
        map.put("mtm" , "audio/x-mod");
        map.put("mup" , "text/x-mup");
        map.put("mxf" , "application/mxf");
        map.put("n64" , "application/x-n64-rom");
        map.put("nb" , "application/mathematica");
        map.put("nds" , "application/x-nintendo-ds-rom");
        map.put("nef" , "image/x-nikon-nef");
        map.put("nes" , "application/x-nes-rom");
        map.put("nfo" , "text/x-nfo");
        map.put("not" , "text/x-mup");
        map.put("nsc" , "application/x-netshow-channel");
        map.put("nsv" , "video/x-nsv");
        map.put("o" , "application/x-object");
        map.put("obj" , "application/x-tgif");
        map.put("ocl" , "text/x-ocl");
        map.put("odb" , "application/vnd.oasis.opendocument.database");
        map.put("odc" , "application/vnd.oasis.opendocument.chart");
        map.put("odf" , "application/vnd.oasis.opendocument.formula");
        map.put("odg" , "application/vnd.oasis.opendocument.graphics");
        map.put("odi" , "application/vnd.oasis.opendocument.image");
        map.put("odm" , "application/vnd.oasis.opendocument.text-master");
        map.put("odp" , "application/vnd.oasis.opendocument.presentation");
        map.put("ods" , "application/vnd.oasis.opendocument.spreadsheet");
        map.put("odt" , "application/vnd.oasis.opendocument.text");
        map.put("oga" , "audio/ogg");
        map.put("ogm" , "video/x-ogm+ogg");
        map.put("ogv" , "video/ogg");
        map.put("ogx" , "application/ogg");
        map.put("old" , "application/x-trash");
        map.put("oleo" , "application/x-oleo");
        map.put("opml" , "text/x-opml+xml");
        map.put("ora" , "image/openraster");
        map.put("orf" , "image/x-olympus-orf");
        map.put("otc" , "application/vnd.oasis.opendocument.chart-template");
        map.put("otf" , "application/x-font-otf");
        map.put("otg" , "application/vnd.oasis.opendocument.graphics-template");
        map.put("oth" , "application/vnd.oasis.opendocument.text-web");
        map.put("otp" , "application/vnd.oasis.opendocument.presentation-template");
        map.put("ots" , "application/vnd.oasis.opendocument.spreadsheet-template");
        map.put("ott" , "application/vnd.oasis.opendocument.text-template");
        map.put("owl" , "application/rdf+xml");
        map.put("oxt" , "application/vnd.openofficeorg.extension");
        map.put("p" , "text/x-pascal");
        map.put("pack" , "application/x-java-pack200");
        map.put("pak" , "application/x-pak");
        map.put("par2" , "application/x-par2");
        map.put("pas" , "text/x-pascal");
        map.put("patch" , "text/x-patch");
        map.put("pcd" , "image/x-photo-cd");
        map.put("pcf" , "application/x-cisco-vpn-settings");
        map.put("pcf.gz" , "application/x-font-pcf");
        map.put("pcf.z" , "application/x-font-pcf");
        map.put("pcl" , "application/vnd.hp-pcl");
        map.put("pdc" , "application/x-aportisdoc");
        map.put("pdf.bz2" , "application/x-bzpdf");
        map.put("pdf.gz" , "application/x-gzpdf");
        map.put("pef" , "image/x-pentax-pef");
        map.put("pem" , "application/x-x509-ca-cert");
        map.put("perl" , "application/x-perl");
        map.put("pfa" , "application/x-font-type1");
        map.put("pfb" , "application/x-font-type1");
        map.put("pgn" , "application/x-chess-pgn");
        map.put("pgp" , "application/pgp-encrypted");
        map.put("php" , "application/x-php");
        map.put("php3" , "application/x-php");
        map.put("php4" , "application/x-php");
        map.put("pict1" , "image/x-pict");
        map.put("pict2" , "image/x-pict");
        map.put("pickle" , "application/python-pickle");
        map.put("pk" , "application/x-tex-pk");
        map.put("pkipath" , "application/pkix-pkipath");
        map.put("pkr" , "application/pgp-keys");
        map.put("pl" , "application/x-perl");
        map.put("pla" , "audio/x-iriver-pla");
        map.put("pln" , "application/x-planperfect");
        map.put("pls" , "audio/x-scpls");
        map.put("pntg" , "image/x-macpaint");
        map.put("po" , "text/x-gettext-translation");
        map.put("por" , "application/x-spss-por");
        map.put("pot" , "text/x-gettext-translation-template");
        map.put("pptm" , "application/vnd.openxmlformats-officedocument.presentationml.presentation");
        map.put("ppz" , "application/vnd.ms-powerpoint");
        map.put("ps.bz2" , "application/x-bzpostscript");
        map.put("ps.gz" , "application/x-gzpostscript");
        map.put("psd" , "image/vnd.adobe.photoshop");
        map.put("psf" , "audio/x-psf");
        map.put("psf.gz" , "application/x-gz-font-linux-psf");
        map.put("psflib" , "audio/x-psflib");
        map.put("psid" , "audio/prs.sid");
        map.put("psw" , "application/x-pocket-word");
        map.put("pw" , "application/x-pw");
        map.put("py" , "text/x-python");
        map.put("pyc" , "application/x-python-bytecode");
        map.put("pyo" , "application/x-python-bytecode");
        map.put("qif" , "image/x-quicktime");
        map.put("qtl" , "application/x-quicktime-media-link");
        map.put("qtvr" , "video/quicktime");
        map.put("raf" , "image/x-fuji-raf");
        map.put("raw" , "image/x-panasonic-raw");
        map.put("rax" , "audio/vnd.rn-realaudio");
        map.put("rb" , "application/x-ruby");
        map.put("rdfs" , "application/rdf+xml");
        map.put("reg" , "text/x-ms-regedit");
        map.put("rej" , "application/x-reject");
        map.put("rle" , "image/rle");
        map.put("rmj" , "application/vnd.rn-realmedia");
        map.put("rms" , "application/vnd.rn-realmedia");
        map.put("rmx" , "application/vnd.rn-realmedia");
        map.put("rss" , "application/rss+xml");
        map.put("rvx" , "video/vnd.rn-realvideo");
        map.put("sam" , "application/x-amipro");
        map.put("sami" , "application/x-sami");
        map.put("sav" , "application/x-spss-sav");
        map.put("scm" , "text/x-scheme");
        map.put("sda" , "application/vnd.stardivision.draw");
        map.put("drawio" , "drawio");
        map.put("sdc" , "application/vnd.stardivision.calc");
        map.put("sdd" , "application/vnd.stardivision.impress");
        map.put("sds" , "application/vnd.stardivision.chart");
        map.put("sdw" , "application/vnd.stardivision.writer");
        map.put("sgf" , "application/x-go-sgf");
        map.put("sgi" , "image/x-sgi");
        map.put("sgl" , "application/vnd.stardivision.writer");
        map.put("shn" , "application/x-shorten");
        map.put("siag" , "application/x-siag");
        map.put("sid" , "audio/prs.sid");
        map.put("sik" , "application/x-trash");
        map.put("sisx" , "x-epoc/x-sisx-app");
        map.put("siv" , "application/sieve");
        map.put("sk" , "image/x-skencil");
        map.put("sk1" , "image/x-skencil");
        map.put("skr" , "application/pgp-keys");
        map.put("slk" , "text/spreadsheet");
        map.put("smaf" , "application/x-smaf");
        map.put("smc" , "application/x-snes-rom");
        map.put("smf" , "application/vnd.stardivision.math");
        map.put("sml" , "application/smil");
        map.put("sms" , "application/x-sms-rom");
        map.put("so" , "application/x-sharedlib");
        map.put("spd" , "application/x-font-speedo");
        map.put("spec" , "text/x-rpm-spec");
        map.put("spx" , "audio/x-speex");
        map.put("sql" , "text/x-sql");
        map.put("sr2" , "image/x-sony-sr2");
        map.put("srf" , "image/x-sony-srf");
        map.put("srt" , "application/x-subrip");
        map.put("ssa" , "text/x-ssa");
        map.put("stc" , "application/vnd.sun.xml.calc.template");
        map.put("std" , "application/vnd.sun.xml.draw.template");
        map.put("sti" , "application/vnd.sun.xml.impress.template");
        map.put("stw" , "application/vnd.sun.xml.writer.template");
        map.put("sty" , "text/x-tex");
        map.put("sub" , "text/x-subviewer");
        map.put("sun" , "image/x-sun-raster");
        map.put("svgz" , "image/svg+xml-compressed");
        map.put("sxc" , "application/vnd.sun.xml.calc");
        map.put("sxd" , "application/vnd.sun.xml.draw");
        map.put("sxg" , "application/vnd.sun.xml.writer.global");
        map.put("sxi" , "application/vnd.sun.xml.impress");
        map.put("sxm" , "application/vnd.sun.xml.math");
        map.put("sxw" , "application/vnd.sun.xml.writer");
        map.put("sylk" , "text/spreadsheet");
        map.put("t2t" , "text/x-txt2tags");
        map.put("tar.bz" , "application/x-bzip-compressed-tar");
        map.put("tar.bz2" , "application/x-bzip-compressed-tar");
        map.put("tar.gz" , "application/x-compressed-tar");
        map.put("tar.lzma" , "application/x-lzma-compressed-tar");
        map.put("tar.lzo" , "application/x-tzo");
        map.put("tar.xz" , "application/x-xz-compressed-tar");
        map.put("tar.z" , "application/x-tarz");
        map.put("tbz" , "application/x-bzip-compressed-tar");
        map.put("tbz2" , "application/x-bzip-compressed-tar");
        map.put("tga" , "image/x-tga");
        map.put("theme" , "application/x-theme");
        map.put("themepack" , "application/x-windows-themepack");
        map.put("tk" , "text/x-tcl");
        map.put("tlz" , "application/x-lzma-compressed-tar");
        map.put("tnef" , "application/vnd.ms-tnef");
        map.put("tnf" , "application/vnd.ms-tnef");
        map.put("torrent" , "application/x-bittorrent");
        map.put("tpic" , "image/x-tga");
        map.put("ts" , "application/x-linguist");
        map.put("tta" , "audio/x-tta");
        map.put("ttc" , "application/x-font-ttf");
        map.put("ttx" , "application/x-font-ttx");
        map.put("txz" , "application/x-xz-compressed-tar");
        map.put("tzo" , "application/x-tzo");
        map.put("ufraw" , "application/x-ufraw");
        map.put("ui" , "application/x-designer");
        map.put("uil" , "text/x-uil");
        map.put("uni" , "audio/x-mod");
        map.put("uri" , "text/x-uri");
        map.put("url" , "text/x-uri");
        map.put("vala" , "text/x-vala");
        map.put("vapi" , "text/x-vala");
        map.put("vcs" , "text/calendar");
        map.put("vct" , "text/directory");
        map.put("vda" , "image/x-tga");
        map.put("vhd" , "text/x-vhdl");
        map.put("vhdl" , "text/x-vhdl");
        map.put("vlc" , "audio/x-mpegurl");
        map.put("vob" , "video/mpeg");
        map.put("voc" , "audio/x-voc");
        map.put("vor" , "application/vnd.stardivision.writer");
        map.put("vst" , "image/x-tga");
        map.put("wb1" , "application/x-quattropro");
        map.put("wb2" , "application/x-quattropro");
        map.put("wb3" , "application/x-quattropro");
        map.put("webm" , "video/webm");
        map.put("wk1" , "application/vnd.lotus-1-2-3");
        map.put("wk3" , "application/vnd.lotus-1-2-3");
        map.put("wk4" , "application/vnd.lotus-1-2-3");
        map.put("wp" , "application/vnd.wordperfect");
        map.put("wp4" , "application/vnd.wordperfect");
        map.put("wp5" , "application/vnd.wordperfect");
        map.put("wp6" , "application/vnd.wordperfect");
        map.put("wpd" , "application/vnd.wordperfect");
        map.put("wpg" , "application/x-wpg");
        map.put("wpl" , "application/vnd.ms-wpl");
        map.put("wpp" , "application/vnd.wordperfect");
        map.put("wvc" , "audio/x-wavpack-correction");
        map.put("wvp" , "audio/x-wavpack");
        map.put("x3f" , "image/x-sigma-x3f");
        map.put("xac" , "application/x-gnucash");
        map.put("xbel" , "application/x-xbel");
        map.put("xbl" , "application/xml");
        map.put("xcf" , "image/x-xcf");
        map.put("xcf.bz2" , "image/x-compressed-xcf");
        map.put("xcf.gz" , "image/x-compressed-xcf");
        map.put("xi" , "audio/x-xi");
        map.put("xld" , "application/vnd.ms-excel");
        map.put("xlf" , "application/x-xliff");
        map.put("xliff" , "application/x-xliff");
        map.put("xlsm" , "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");
        map.put("xmf" , "audio/x-xmf");
        map.put("xmi" , "text/x-xmi");
        map.put("xps" , "application/vnd.ms-xpsdocument");
        map.put("xslfo" , "text/x-xslfo");
        map.put("xslt" , "application/xml");
        map.put("xspf" , "application/xspf+xml");
        map.put("xz" , "application/x-xz");
        map.put("w2p" , "application/w2p");
        map.put("323", "text/h323");
        map.put("3gp", "video/3gpp");
        map.put("3gpp" , "video/3gpp");
        map.put("aab", "application/x-authoware-bin");
        map.put("aam", "application/x-authoware-map");
        map.put("aas", "application/x-authoware-seg");
        map.put("acx", "application/internet-property-stream");
        map.put("ai", "application/postscript");
        map.put("aif", "audio/x-aiff");
        map.put("aifc", "audio/x-aiff");
        map.put("aiff", "audio/x-aiff");
        map.put("als", "audio/X-Alpha5");
        map.put("amc", "application/x-mpeg");
        map.put("ani", "application/octet-stream");
        map.put("apk", "application/vnd.android.package-archive");
        map.put("load" , "text/html");
        map.put("123" , "application/vnd.lotus-1-2-3");
        map.put("3ds" , "image/x-3ds");
        map.put("3g2" , "video/3gpp");
        map.put("3ga" , "video/3gpp");
        map.put("602" , "application/x-t602");
        map.put("669" , "audio/x-mod");
        map.put("7z" , "application/x-7z-compressed");
        map.put("a" , "application/x-archive");
        map.put("aac" , "audio/mp4");
        map.put("abw" , "application/x-abiword");
        map.put("abw.crashed" , "application/x-abiword");
        map.put("abw.gz" , "application/x-abiword");
        map.put("ac3" , "audio/ac3");
        map.put("ace" , "application/x-ace");
        map.put("adb" , "text/x-adasrc");
        map.put("asc", "text/plain");
        map.put("asd", "application/astound");
        map.put("asf", "video/x-ms-asf");
        map.put("asn", "application/astound");
        map.put("asp", "application/x-asap");
        map.put("asr", "video/x-ms-asf");
        map.put("asx", "video/x-ms-asf");
        map.put("au", "audio/basic");
        map.put("avb", "application/octet-stream");
        map.put("avi", "video/x-msvideo");
        map.put("awb", "audio/amr-wb");
        map.put("axs", "application/olescript");
        map.put("bas", "text/plain");
        map.put("bcpio", "application/x-bcpio");
        map.put("bin ", "application/octet-stream");
        map.put("bld", "application/bld");
        map.put("bld2", "application/bld2");
        map.put("bmp", "image/bmp");
        map.put("bpk", "application/octet-stream");
        map.put("bz2", "application/x-bzip2");
        map.put("c", "text/plain");
        map.put("cal", "image/x-cals");
        map.put("cat", "application/vnd.ms-pkiseccat");
        map.put("ccn", "application/x-cnc");
        map.put("cco", "application/x-cocoa");
        map.put("cdf", "application/x-cdf");
        map.put("cer", "application/x-x509-ca-cert");
        map.put("cgi", "magnus-internal/cgi");
        map.put("chat", "application/x-chat");
        map.put("class", "application/octet-stream");
        map.put("clp", "application/x-msclip");
        map.put("cmx", "image/x-cmx");
        map.put("co", "application/x-cult3d-object");
        map.put("cod", "image/cis-cod");
        map.put("conf", "text/plain");
        map.put("cpio", "application/x-cpio");
        map.put("cpp", "text/plain");
        map.put("cpt", "application/mac-compactpro");
        map.put("crd", "application/x-mscardfile");
        map.put("crl", "application/pkix-crl");
        map.put("crt", "application/x-x509-ca-cert");
        map.put("csh", "application/x-csh");
        map.put("csm", "chemical/x-csml");
        map.put("csml", "chemical/x-csml");
        map.put("css", "text/css");
        map.put("cur", "application/octet-stream");
        map.put("dcm", "x-lml/x-evm");
        map.put("dcr", "application/x-director");
        map.put("dcx", "image/x-dcx");
        map.put("der", "application/x-x509-ca-cert");
        map.put("dhtml", "text/html");
        map.put("dir", "application/x-director");
        map.put("dll", "application/x-msdownload");
        map.put("dmg", "application/octet-stream");
        map.put("dms", "application/octet-stream");
        map.put("doc", "application/msword");
        map.put("docx", "application/vnd.openxmlformats-officedocument.wordprocessingml.document");
        map.put("dot", "application/msword");
        map.put("dvi", "application/x-dvi");
        map.put("dwf", "drawing/x-dwf");
        map.put("dwg", "application/x-autocad");
        map.put("dxf", "application/x-autocad");
        map.put("dxr", "application/x-director");
        map.put("ebk", "application/x-expandedbook");
        map.put("emb", "chemical/x-embl-dl-nucleotide");
        map.put("embl", "chemical/x-embl-dl-nucleotide");
        map.put("eps", "application/postscript");
        map.put("epub", "application/epub+zip");
        map.put("eri", "image/x-eri");
        map.put("es", "audio/echospeech");
        map.put("esl", "audio/echospeech");
        map.put("etc", "application/x-earthtime");
        map.put("etx", "text/x-setext");
        map.put("evm", "x-lml/x-evm");
        map.put("evy", "application/envoy");
        map.put("exe", "application/octet-stream");
        map.put("fh4", "image/x-freehand");
        map.put("fh5", "image/x-freehand");
        map.put("fhc", "image/x-freehand");
        map.put("fif", "application/fractals");
        map.put("flr", "x-world/x-vrml");
        map.put("flv", "flv-application/octet-stream");
        map.put("fm", "application/x-maker");
        map.put("fpx", "image/x-fpx");
        map.put("fvi", "video/isivideo");
        map.put("gau", "chemical/x-gaussian-input");
        map.put("gca", "application/x-gca-compressed");
        map.put("gdb", "x-lml/x-gdb");
        map.put("gif", "image/gif");
        map.put("gps", "application/x-gps");
        map.put("gtar", "application/x-gtar");
        map.put("gz", "application/x-gzip");
        map.put("h", "text/plain");
        map.put("hdf", "application/x-hdf");
        map.put("hdm", "text/x-hdml");
        map.put("hdml", "text/x-hdml");
        map.put("hlp", "application/winhlp");
        map.put("hqx", "application/mac-binhex40");
        map.put("hta", "application/hta");
        map.put("htc", "text/x-component");
        map.put("htm", "text/html");
        map.put("html", "text/html");
        map.put("hts", "text/html");
        map.put("htt", "text/webviewhtml");
        map.put("ice", "x-conference/x-cooltalk");
        map.put("ico", "image/x-icon");
        map.put("ief", "image/ief");
        map.put("ifm", "image/gif");
        map.put("ifs", "image/ifs");
        map.put("iii", "application/x-iphone");
        map.put("imy", "audio/melody");
        map.put("ins", "application/x-internet-signup");
        map.put("ips", "application/x-ipscript");
        map.put("ipx", "application/x-ipix");
        map.put("isp", "application/x-internet-signup");
        map.put("it", "audio/x-mod");
        map.put("itz", "audio/x-mod");
        map.put("ivr", "i-world/i-vrml");
        map.put("j2k", "image/j2k");
        map.put("jad", "text/vnd.sun.j2me.app-descriptor");
        map.put("jam", "application/x-jam");
        map.put("jar", "application/java-archive");
        map.put("java", "text/plain");
        map.put("jfif", "image/pipeg");
        map.put("jnlp", "application/x-java-jnlp-file");
        map.put("jpe", "image/jpeg");
        map.put("jpeg", "image/jpeg");
        map.put("jpg", "image/jpeg");
        map.put("jpz", "image/jpeg");
        map.put("js", "application/x-javascript");
        map.put("jwc", "application/jwc");
        map.put("kjx", "application/x-kjx");
        map.put("lak", "x-lml/x-lak");
        map.put("latex", "application/x-latex");
        map.put("lcc", "application/fastman");
        map.put("lcl", "application/x-digitalloca");
        map.put("lcr", "application/x-digitalloca");
        map.put("lgh", "application/lgh");
        map.put("lha", "application/octet-stream");
        map.put("lml", "x-lml/x-lml");
        map.put("lmlpack", "x-lml/x-lmlpack");
        map.put("log", "text/plain");
        map.put("lsf", "video/x-la-asf");
        map.put("lsx", "video/x-la-asf");
        map.put("lzh", "application/octet-stream");
        map.put("m13", "application/x-msmediaview");
        map.put("m14", "application/x-msmediaview");
        map.put("m15", "audio/x-mod");
        map.put("m3u", "audio/x-mpegurl");
        map.put("m3url", "audio/x-mpegurl");
        map.put("m4a", "audio/mp4a-latm");
        map.put("m4b", "audio/mp4a-latm");
        map.put("m4p", "audio/mp4a-latm");
        map.put("m4u", "video/vnd.mpegurl");
        map.put("m4v", "video/x-m4v");
        map.put("ma1", "audio/ma1");
        map.put("ma2", "audio/ma2");
        map.put("ma3", "audio/ma3");
        map.put("ma5", "audio/ma5");
        map.put("man", "application/x-troff-man");
        map.put("map", "magnus-internal/imagemap");
        map.put("mbd", "application/mbedlet");
        map.put("mct", "application/x-mascot");
        map.put("mdb", "application/x-msaccess");
        map.put("mdz", "audio/x-mod");
        map.put("me", "application/x-troff-me");
        map.put("mel", "text/x-vmel");
        map.put("mht", "message/rfc822");
        map.put("mhtml", "message/rfc822");
        map.put("mi", "application/x-mif");
        map.put("mid", "audio/mid");
        map.put("midi", "audio/midi");
        map.put("mif", "application/x-mif");
        map.put("mil", "image/x-cals");
        map.put("mio", "audio/x-mio");
        map.put("mmf", "application/x-skt-lbs");
        map.put("mng", "video/x-mng");
        map.put("mny", "application/x-msmoney");
        map.put("moc", "application/x-mocha");
        map.put("mocha", "application/x-mocha");
        map.put("mod", "audio/x-mod");
        map.put("mof", "application/x-yumekara");
        map.put("mol", "chemical/x-mdl-molfile");
        map.put("mop", "chemical/x-mopac-input");
        map.put("mov", "video/quicktime");
        map.put("movie", "video/x-sgi-movie");
        map.put("mp2", "video/mpeg");
        map.put("mp3", "audio/mpeg");
        map.put("mp4", "video/mp4");
        map.put("mpa", "video/mpeg");
        map.put("mpc", "application/vnd.mpohun.certificate");
        map.put("mpe", "video/mpeg");
        map.put("mpeg", "video/mpeg");
        map.put("mpg", "video/mpeg");
        map.put("mpg4", "video/mp4");
        map.put("mpga", "audio/mpeg");
        map.put("mpn", "application/vnd.mophun.application");
        map.put("mpp", "application/vnd.ms-project");
        map.put("mps", "application/x-mapserver");
        map.put("mpv2", "video/mpeg");
        map.put("mrl", "text/x-mrml");
        map.put("mrm", "application/x-mrm");
        map.put("ms", "application/x-troff-ms");
        map.put("msg", "application/vnd.ms-outlook");
        map.put("mts", "application/metastream");
        map.put("mtx", "application/metastream");
        map.put("mtz", "application/metastream");
        map.put("mvb", "application/x-msmediaview");
        map.put("mzv", "application/metastream");
        map.put("nar", "application/zip");
        map.put("nbmp", "image/nbmp");
        map.put("nc", "application/x-netcdf");
        map.put("ndb", "x-lml/x-ndb");
        map.put("ndwn", "application/ndwn");
        map.put("nif", "application/x-nif");
        map.put("nmz", "application/x-scream");
        map.put("nokia-op-logo", "image/vnd.nok-oplogo-color");
        map.put("npx", "application/x-netfpx");
        map.put("nsnd", "audio/nsnd");
        map.put("nva", "application/x-neva1");
        map.put("nws", "message/rfc822");
        map.put("oda", "application/oda");
        map.put("ogg", "audio/ogg");
        map.put("oom", "application/x-AtlasMate-Plugin");
        map.put("p10", "application/pkcs10");
        map.put("p12", "application/x-pkcs12");
        map.put("p7b", "application/x-pkcs7-certificates");
        map.put("p7c", "application/x-pkcs7-mime");
        map.put("p7m", "application/x-pkcs7-mime");
        map.put("p7r", "application/x-pkcs7-certreqresp");
        map.put("p7s", "application/x-pkcs7-signature");
        map.put("pac", "audio/x-pac");
        map.put("pae", "audio/x-epac");
        map.put("pan", "application/x-pan");
        map.put("pbm", "image/x-portable-bitmap");
        map.put("pcx", "image/x-pcx");
        map.put("pda", "image/x-pda");
        map.put("pdb", "chemical/x-pdb");
        map.put("pdf", "application/pdf");
        map.put("pfr", "application/font-tdpfr");
        map.put("pfx", "application/x-pkcs12");
        map.put("pgm", "image/x-portable-graymap");
        map.put("pict", "image/x-pict");
        map.put("pko", "application/ynd.ms-pkipko");
        map.put("pm", "application/x-perl");
        map.put("pma", "application/x-perfmon");
        map.put("pmc", "application/x-perfmon");
        map.put("pmd", "application/x-pmd");
        map.put("pml", "application/x-perfmon");
        map.put("pmr", "application/x-perfmon");
        map.put("pmw", "application/x-perfmon");
        map.put("png", "image/png");
        map.put("pnm", "image/x-portable-anymap");
        map.put("pnz", "image/png");
        map.put("pot,", "application/vnd.ms-powerpoint");
        map.put("ppm", "image/x-portable-pixmap");
        map.put("pps", "application/vnd.ms-powerpoint");
        map.put("ppt", "application/vnd.ms-powerpoint");
        map.put("pptx", "application/vnd.openxmlformats-officedocument.presentationml.presentation");
        map.put("pqf", "application/x-cprplayer");
        map.put("pqi", "application/cprplayer");
        map.put("prc", "application/x-prc");
        map.put("prf", "application/pics-rules");
        map.put("prop", "text/plain");
        map.put("proxy", "application/x-ns-proxy-autoconfig");
        map.put("ps", "application/postscript");
        map.put("ptlk", "application/listenup");
        map.put("pub", "application/x-mspublisher");
        map.put("pvx", "video/x-pv-pvx");
        map.put("qcp", "audio/vnd.qcelp");
        map.put("qt", "video/quicktime");
        map.put("qti", "image/x-quicktime");
        map.put("qtif", "image/x-quicktime");
        map.put("r3t", "text/vnd.rn-realtext3d");
        map.put("ra", "audio/x-pn-realaudio");
        map.put("ram", "audio/x-pn-realaudio");
        map.put("rar", "application/octet-stream");
        map.put("ras", "image/x-cmu-raster");
        map.put("rc", "text/plain");
        map.put("rdf", "application/rdf+xml");
        map.put("rf", "image/vnd.rn-realflash");
        map.put("rgb", "image/x-rgb");
        map.put("rlf", "application/x-richlink");
        map.put("rm", "audio/x-pn-realaudio");
        map.put("rmf", "audio/x-rmf");
        map.put("rmi", "audio/mid");
        map.put("rmm", "audio/x-pn-realaudio");
        map.put("rmvb", "audio/x-pn-realaudio");
        map.put("rnx", "application/vnd.rn-realplayer");
        map.put("roff", "application/x-troff");
        map.put("rp", "image/vnd.rn-realpix");
        map.put("rpm", "audio/x-pn-realaudio-plugin");
        map.put("rt", "text/vnd.rn-realtext");
        map.put("rte", "x-lml/x-gps");
        map.put("rtf", "application/rtf");
        map.put("rtg", "application/metastream");
        map.put("rtx", "text/richtext");
        map.put("rv", "video/vnd.rn-realvideo");
        map.put("rwc", "application/x-rogerwilco");
        map.put("s3m", "audio/x-mod");
        map.put("s3z", "audio/x-mod");
        map.put("sca", "application/x-supercard");
        map.put("scd", "application/x-msschedule");
        map.put("sct", "text/scriptlet");
        map.put("sdf", "application/e-score");
        map.put("sea", "application/x-stuffit");
        map.put("setpay", "application/set-payment-initiation");
        map.put("setreg", "application/set-registration-initiation");
        map.put("sgm", "text/x-sgml");
        map.put("sgml", "text/x-sgml");
        map.put("sh", "application/x-sh");
        map.put("shar", "application/x-shar");
        map.put("shtml", "magnus-internal/parsed-html");
        map.put("shw", "application/presentations");
        map.put("si6", "image/si6");
        map.put("si7", "image/vnd.stiwap.sis");
        map.put("si9", "image/vnd.lgtwap.sis");
        map.put("sis", "application/vnd.symbian.install");
        map.put("sit", "application/x-stuffit");
        map.put("skd", "application/x-Koan");
        map.put("skm", "application/x-Koan");
        map.put("skp", "application/x-Koan");
        map.put("skt", "application/x-Koan");
        map.put("slc", "application/x-salsa");
        map.put("smd", "audio/x-smd");
        map.put("smi", "application/smil");
        map.put("smil", "application/smil");
        map.put("smp", "application/studiom");
        map.put("smz", "audio/x-smd");
        map.put("snd", "audio/basic");
        map.put("spc", "application/x-pkcs7-certificates");
        map.put("spl", "application/futuresplash");
        map.put("spr", "application/x-sprite");
        map.put("sprite", "application/x-sprite");
        map.put("sdp", "application/sdp");
        map.put("spt", "application/x-spt");
        map.put("src", "application/x-wais-source");
        map.put("sst", "application/vnd.ms-pkicertstore");
        map.put("stk", "application/hyperstudio");
        map.put("stl", "application/vnd.ms-pkistl");
        map.put("stm", "text/html");
        map.put("svg", "image/svg+xml");
        map.put("sv4cpio", "application/x-sv4cpio");
        map.put("sv4crc", "application/x-sv4crc");
        map.put("svf", "image/vnd");
        map.put("svg", "image/svg+xml");
        map.put("svh", "image/svh");
        map.put("svr", "x-world/x-svr");
        map.put("swf", "application/x-shockwave-flash");
        map.put("swfl", "application/x-shockwave-flash");
        map.put("t", "application/x-troff");
        map.put("tad", "application/octet-stream");
        map.put("talk", "text/x-speech");
        map.put("tar", "application/x-tar");
        map.put("taz", "application/x-tar");
        map.put("tbp", "application/x-timbuktu");
        map.put("tbt", "application/x-timbuktu");
        map.put("tcl", "application/x-tcl");
        map.put("tex", "application/x-tex");
        map.put("texi", "application/x-texinfo");
        map.put("texinfo", "application/x-texinfo");
        map.put("tgz", "application/x-compressed");
        map.put("thm", "application/vnd.eri.thm");
        map.put("tif", "image/tiff");
        map.put("tiff", "image/tiff");
        map.put("tki", "application/x-tkined");
        map.put("tkined", "application/x-tkined");
        map.put("toc", "application/toc");
        map.put("toy", "image/toy");
        map.put("tr", "application/x-troff");
        map.put("trk", "x-lml/x-gps");
        map.put("trm", "application/x-msterminal");
        map.put("tsi", "audio/tsplayer");
        map.put("tsp", "application/dsptype");
        map.put("tsv", "text/tab-separated-values");
        map.put("ttf", "application/octet-stream");
        map.put("ttz", "application/t-time");
        map.put("txt", "text/plain");
        map.put("uls", "text/iuls");
        map.put("ult", "audio/x-mod");
        map.put("ustar", "application/x-ustar");
        map.put("uu", "application/x-uuencode");
        map.put("uue", "application/x-uuencode");
        map.put("vcd", "application/x-cdlink");
        map.put("vcf", "text/x-vcard");
        map.put("vdo", "video/vdo");
        map.put("vib", "audio/vib");
        map.put("viv", "video/vivo");
        map.put("vivo", "video/vivo");
        map.put("vmd", "application/vocaltec-media-desc");
        map.put("vmf", "application/vocaltec-media-file");
        map.put("vmi", "application/x-dreamcast-vms-info");
        map.put("vms", "application/x-dreamcast-vms");
        map.put("vox", "audio/voxware");
        map.put("vqe", "audio/x-twinvq-plugin");
        map.put("vqf", "audio/x-twinvq");
        map.put("vql", "audio/x-twinvq");
        map.put("vre", "x-world/x-vream");
        map.put("vrml", "x-world/x-vrml");
        map.put("vrt", "x-world/x-vrt");
        map.put("vrw", "x-world/x-vream");
        map.put("vts", "workbook/formulaone");
        map.put("wav", "audio/x-wav");
        map.put("wax", "audio/x-ms-wax");
        map.put("wbmp", "image/vnd.wap.wbmp");
        map.put("wcm", "application/vnd.ms-works");
        map.put("wdb", "application/vnd.ms-works");
        map.put("web", "application/vnd.xara");
        map.put("wi", "image/wavelet");
        map.put("wis", "application/x-InstallShield");
        map.put("wks", "application/vnd.ms-works");
        map.put("wm", "video/x-ms-wm");
        map.put("wma", "audio/x-ms-wma");
        map.put("wmd", "application/x-ms-wmd");
        map.put("wmf", "application/x-msmetafile");
        map.put("wml", "text/vnd.wap.wml");
        map.put("wmlc", "application/vnd.wap.wmlc");
        map.put("wmls", "text/vnd.wap.wmlscript");
        map.put("wmlsc", "application/vnd.wap.wmlscriptc");
        map.put("wmlscript", "text/vnd.wap.wmlscript");
        map.put("wmv", "audio/x-ms-wmv");
        map.put("wmx", "video/x-ms-wmx");
        map.put("wmz", "application/x-ms-wmz");
        map.put("wpng", "image/x-up-wpng");
        map.put("wps", "application/vnd.ms-works");
        map.put("wpt", "x-lml/x-gps");
        map.put("wri", "application/x-mswrite");
        map.put("wrl", "x-world/x-vrml");
        map.put("wrz", "x-world/x-vrml");
        map.put("ws", "text/vnd.wap.wmlscript");
        map.put("wsc", "application/vnd.wap.wmlscriptc");
        map.put("wv", "video/wavelet");
        map.put("wvx", "video/x-ms-wvx");
        map.put("wxl", "application/x-wxl");
        map.put("x-gzip", "application/x-gzip");
        map.put("xaf", "x-world/x-vrml");
        map.put("xar", "application/vnd.xara");
        map.put("xbm", "image/x-xbitmap");
        map.put("xdm", "application/x-xdma");
        map.put("xdma", "application/x-xdma");
        map.put("xdw", "application/vnd.fujixerox.docuworks");
        map.put("xht", "application/xhtml+xml");
        map.put("xhtm", "application/xhtml+xml");
        map.put("xhtml", "application/xhtml+xml");
        map.put("xla", "application/vnd.ms-excel");
        map.put("xlc", "application/vnd.ms-excel");
        map.put("xll", "application/x-excel");
        map.put("xlm", "application/vnd.ms-excel");
        map.put("xls", "application/vnd.ms-excel");
        map.put("xlsx", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");
        map.put("xlt", "application/vnd.ms-excel");
        map.put("xlw", "application/vnd.ms-excel");
        map.put("xm", "audio/x-mod");
        map.put("xml", "application/xml");
        map.put("xmz", "audio/x-mod");
        map.put("xof", "x-world/x-vrml");
        map.put("xpi", "application/x-xpinstall");
        map.put("xpm", "image/x-xpixmap");
        map.put("xsit", "text/xml");
        map.put("xsl", "text/xml");
        map.put("xul", "text/xul");
        map.put("xwd", "image/x-xwindowdump");
        map.put("xyz", "chemical/x-pdb");
        map.put("yz1", "application/x-yz1");
        map.put("z", "application/x-compress");
        map.put("zac", "application/x-zaurus-zac");
        map.put("zip", "application/zip");
        map.put("json", "application/json");
    }
}
